package com.example.lightcontrol;

import android.widget.TextView;
import android.widget.ToggleButton;

public class SenserState {
	private String mac = "";
	public String getMac() {
		return mac;
	}
	public void setMac(String mac) {
		this.mac = mac;
	}
	private int state = 0;
	private ToggleButton toggleButton;
	public ToggleButton getToggleButton() {
		return toggleButton;
	}
	private TextView textView;
	public TextView getTextView() {
		return textView;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	
	
	public SenserState( String mac, int state ) {
		this.mac = mac;
		this.state = state;
	}
	public void setToggleButton(ToggleButton tb) {
		this.toggleButton = tb;
	}
	public void setTextView(TextView text) {
		this.textView = text;
	}
}
